home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / sysext / cdev / maxfiles.sit / Max Files / MaxFiles Info < prev   
Text File  |  1990-02-17  |  4KB  |  75 lines

  1. ABOUT MAX FILES
  2.  
  3. "Max Files" used to be my radio name when I used to work the morning shift for
  4. KASM in Palo Alto...
  5.  
  6. But seriously, the current Mac OS (up to and including 6.x.x) only allows 40,
  7. count 'em, 40 files to be concurrently open an any given time. This number can
  8. be traced back to the earliest Macs - 128K, flat file system, up to two 400K
  9. floppy drives. Clearly, with that setup 40 is a reasonable, even generous,
  10. number of file paths to allocate at system boot time.
  11.  
  12. The amount of memory allocated at boot time is controlled by the value stored
  13. in the 124th byte of the first block of any bootable Mac volume. The value
  14. written to this byte by the Mac OS whenever a volume is made bootable (a System
  15. file and Finder are put in the same folder on the disk, more or less) is 10.
  16. The actual number of allocated file paths allocated is always four times the
  17. number stored at this byte.
  18.  
  19. So, to increase the allowable number of concurrently open files the value at
  20. 124th byte of the first block of any bootable Mac volume needs to be increased.
  21. The cdev "Max Files" was created to do this chore for those who are too
  22. squeamish (sp?) to use the "Edit Boot Blocks" function of Fedit.
  23.  
  24. To use this cdev just drop it in your System folder and, using the Control
  25. Panel, use Max Files to choose a bootable volume and set the number of
  26. concurrently open files allowed when that volume is the boot volume. Be sure to
  27. click on the "Save New Setting" button to update the volume. The change will
  28. take effect the next time the volume is used to boot a Mac.
  29.  
  30. Notes and Caveats:
  31. This cdev has been designed to limit the number of concurrently open files to
  32. values between 40 and 340, inclusive. 40 seems like a reasonable lower limit
  33. and 340 is close to the EMPIRICALLY DETERMINED upper limit. This upper limit
  34. has been tested and found safe on 2,4,5 and 8 meg Mac II series computers. (Mac
  35. II family ->) If, however, you get the diagnostic monitor bells on boot up (4
  36. tones, rising) and/or a Sad Mac the number has been set too high for your
  37. particular setup. Just boot off another disk and use Max Files to lower the
  38. number of file paths to be allocated on the troubled disk.
  39.  
  40. This cdev has not been tested on SEs, Plusses or older machines. If you get a
  41. Sad Mac just boot off another disk and use Max Files to lower the number of
  42. file paths to be allocated on the troubled disk.
  43.  
  44. Max Files should be useless if System 7.0 is ever released. From what I've read
  45. in the tabloids the number of open file paths will be dynamically allocated
  46. during run time. Of course I could be wrong.
  47.  
  48. This cdev is the property of Siemens Gammasonics, Inc. However it may be freely
  49. distributed without charge as long as this notice is included. This cdev may
  50. not be distributed for a fee (with the exception of downloading fees) without
  51. the prior written consent of Siemens Gammasonics, Inc. This cdev may not be
  52. distributed in any commercial product without the prior written consent of
  53. Siemens Gammasonics, Inc.
  54.  
  55. Max Files was researched, designed and implemented in about 6 hours time. We've
  56. been using it for a month in house with no ill effects. The concept and design
  57. are straight-forward and simple, and the implementation was straight-forward
  58. and compact. HOWEVER, this cdev is experimental and neither Siemens
  59. Gammasonics, Inc. nor Andrew Kohler guarantee its suitability or use for any
  60. purpose, nor are they liable for any damage or loss of data caused by the use
  61. or misuse of this software. This software is provided free of charge "AS IS".
  62. The user should take reasonable precautions to preserve data with back-ups when
  63. using this software.
  64.  
  65. Please direct all questions, comments, bug reports, etc. to:
  66. Andrew Kohler   AppleLink: V0391
  67. -or-
  68. Andrew Kohler
  69. Siemens Gammasonics, Inc.
  70. 2501 N. Barrington Road, MS 2410
  71. Hoffman Estates, IL 60195
  72.  
  73. User Groups:Developer Exchange:Technical Information
  74.  
  75.